<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="path" value="${pageContext.request.contextPath}" />
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>

<title>消息详情</title>
<link href="static/css/tail.css" rel="stylesheet" type="text/css" />
<link href="static/css/bootstrap.min.css" rel="stylesheet"
	type="text/css">
<link href="static/css/bootstrap-table.css" rel="stylesheet"
	type="text/css">
<link rel="stylesheet" href="static/css/base.css" />
<link rel="stylesheet" href="static/css/info-mgt.css" />
</head>
<body style="border-radius: 8px" onload="change(),init()">
	<!--<div class="title"><h2>通知详情</h2></div>-->
	<form id="form_demo" method="post" action="audit_salary.html">
		<div class="top">
			<div>
				<table class="table">
					<tr>
						<td><input type="hidden" name="Id" id="Id" value="${em.id}" />
							<input type="hidden" name="ot_status" id="ot_status"
							value="${em.st_id}" /></td>
					</tr>
					<tr>
						<td>薪酬标准编号:<i class="i_start"></i></td>
						<td><input type="text" id="em_number" name="em_number"
							value="${em.em_number}" readonly="readonly" /> <font color="red"></font>
						</td>
						<td>薪酬标准名称:<i class="i_start"></i></td>
						<td> <select disabled="disabled" id="em_name" name="em_name">
								<option value="0">请选择</option>
								<c:forEach var="po" items="${position}">
									<option value="${po.id }"
										<c:if test="${po.id==em.em_name}"> selected="selected"   </c:if>>${po.position_name }</option>
								</c:forEach>
						</select  > <font color="red"></font></td>
						<td>薪酬总额:<i class="i_start"></i></td>
						<td><input type="text" id="em_totalmoney"
							name="em_totalmoney" value="${em.em_totalmoney}"
							readonly="readonly" /></td>
					</tr>
					<tr>
						<td>制定人:<i class="i_start"></i></td>
						<td><input type="hidden" id="em_maker" name="em_maker"
							value="${em.em_maker}" /> <input type="text" id="em_maker_name"
							name="em_maker_name" value="${em.em_maker}" readonly="readonly" /></td>
						<td>登记人:<i class="i_start"></i></td>
						<td><input type="hidden" id="em_handlers" name="em_handlers"
							value="${em.em_handlers}" /> <input type="text"
							id="em_handlers_name" name="em_handlers_name"
							value="${em.em_handlers}" readonly="readonly" /></td>
						<td>登记时间:<i class="i_start"></i></td>
						<td><input type="text" name="em_registrationtime"
							readonly="readonly" id="em_registrationtime"
							value=" <fmt:formatDate value="${em.em_registrationtime }"  pattern="yyyy-MM-dd"/> " /></td>
					</tr>
					<tr>
						<td>说明:<i class="i_start"></td>
						<td><textarea rows="50%" cols="40" id="ot_audit"
								name="ot_audit" readonly="readonly">${em.cp_Operation.ot_audit}</textarea><font
							color="red"></font></td>
						<td>驳回原因:</td>
						<td><textarea rows="50%" cols="40" id="ot_reject"
								name="ot_reject" placeholder="若驳回请填写驳回原因"></textarea></td>
					</tr>
				</table>
				<table class="table">
					<tr>
						<td>薪酬项目名称</td>
						<td
							style="font-size: 14px; text-align: center; background-color: #f9f9f9; font-weight: bold; color: #46647e; width: 120px; line-height: 40px;">金额</td>
					</tr>

					<tr>

						<td>基本工资:<i class="i_start"></i></td>
						<td><input type="text" name="em_basemoney" id="em_basemoney"
							value="${em.em_basemoney}" readonly="readonly" /> <font
							color="red"></font></td>
					</tr>
					<tr>

						<td>餐补:<i class="i_start"></i></td>
						<td><input type="text" name="em_mealmaoney"
							id="em_mealmaoney" value="${em.em_mealmaoney}"
							readonly="readonly" /> <font color="red"></font></td>
					</tr>
					<tr>

						<td>住房补助:<i class="i_start"></i></td>
						<td><input type="text" name="em_housingmoney"
							id="em_housingmoney" value="${em.em_housingmoney}"
							readonly="readonly" /> <font color="red"></font></td>
					</tr>
				</table>
			</div>
		</div>
		<script type="text/javascript" src="static/js/jquery.js"></script>
		<script type="text/javascript" src="${path }/static/js/salary_view.js"></script>
		<div class="bot_btn">
			<input class="btn" value="审核通过" id="audit" /> <input class="btn"
				value="驳回" id="td" />
			<c:if test="${em.st_id==3}">
				<script type="text/javascript">
					$("#audit").css("display", "none");
					$("#td").css("display", "none");
				</script>
			</c:if>
			<%-- 	  <a href="${path}/audit_salary.html?em_number=${em.em_number}"
				class="btn" id="audit" style="text-align: center;">审核通过</a>
				 <a href="#" class="btn">驳回</a> --%>
			<button class="btn" onclick="history.back()">返回</button>
		</div>
		</div>
	</form>


	<script src="static/js/date/js/laydate.js"></script>
	<script src="${path }/static/js/laydate.js"></script>

	<script src="${path }/static/js/bootstrap.min.js"></script>
	<script src="${path }/static/js/bootstrap-table.js"></script>
	<script src="${path }/static/js/bootstrap-table-zh-CN.min.js"></script>
<script
	src="${path}/static/js/compensation/salary_view.js"></script>

	<script src="${path }/static/js/date/js/laydate.js"></script>


</body>

</html>